<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>HElib: helib::PtrMatrix&lt; T &gt; Struct Template Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">HElib Implementing Homomorphic Encryption</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacehelib.html">helib</a></li><li class="navelem"><a class="el" href="structhelib_1_1_ptr_matrix.html">PtrMatrix</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structhelib_1_1_ptr_matrix-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">helib::PtrMatrix&lt; T &gt; Struct Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>An abstract class for an array of PtrVectors.  
 <a href="structhelib_1_1_ptr_matrix.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_ptr_matrix_8h_source.html">PtrMatrix.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for helib::PtrMatrix&lt; T &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="structhelib_1_1_ptr_matrix.png" usemap="#helib::PtrMatrix_3C_20T_20_3E_map" alt=""/>
  <map id="helib::PtrMatrix_3C_20T_20_3E_map" name="helib::PtrMatrix_3C_20T_20_3E_map">
<area href="structhelib_1_1_ptr_matrix___pt_ptr_vector.html" title="An implementation of PtrMatrix using vector&lt; PtrVector&lt;T&gt;* &gt;" alt="helib::PtrMatrix_PtPtrVector&lt; T &gt;" shape="rect" coords="0,56,199,80"/>
<area href="structhelib_1_1_ptr_matrix__pt_vec.html" title="An implementation of PtrMatrix using Vec&lt; Vec&lt;T&gt;* &gt;" alt="helib::PtrMatrix_ptVec&lt; T &gt;" shape="rect" coords="209,56,408,80"/>
<area href="structhelib_1_1_ptr_matrix__ptvector.html" title="An implementation of PtrMatrix using vector&lt; vector&lt;T&gt;* &gt;" alt="helib::PtrMatrix_ptvector&lt; T &gt;" shape="rect" coords="418,56,617,80"/>
<area href="structhelib_1_1_ptr_matrix___vec.html" title="An implementation of PtrMatrix using Vec&lt; Vec&lt;T&gt; &gt;" alt="helib::PtrMatrix_Vec&lt; T &gt;" shape="rect" coords="627,56,826,80"/>
<area href="structhelib_1_1_ptr_matrix__vector.html" title="An implementation of PtrMatrix using vector&lt; vector&lt;T&gt; &gt;" alt="helib::PtrMatrix_vector&lt; T &gt;" shape="rect" coords="836,56,1035,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab20e0c171d50b6935d30e1d234993247"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_matrix.html#ab20e0c171d50b6935d30e1d234993247">operator[]</a> (long)=0</td></tr>
<tr class="separator:ab20e0c171d50b6935d30e1d234993247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f57addbfcc0684f9da601e40cfb9250"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_matrix.html#a0f57addbfcc0684f9da601e40cfb9250">operator[]</a> (long) const =0</td></tr>
<tr class="separator:a0f57addbfcc0684f9da601e40cfb9250"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939ee2ea94472a63d762b00182a46d27"><td class="memItemLeft" align="right" valign="top">virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_matrix.html#a939ee2ea94472a63d762b00182a46d27">size</a> () const =0</td></tr>
<tr class="separator:a939ee2ea94472a63d762b00182a46d27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a160927bd73ace7169e70c3a2a60fa7ba"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_matrix.html#a160927bd73ace7169e70c3a2a60fa7ba">resize</a> (long newSize)</td></tr>
<tr class="separator:a160927bd73ace7169e70c3a2a60fa7ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a122c00533d7b6c88c41f551afca57e6b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_matrix.html#a122c00533d7b6c88c41f551afca57e6b">~PtrMatrix</a> ()</td></tr>
<tr class="separator:a122c00533d7b6c88c41f551afca57e6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79552187048172837806c40d989a044a"><td class="memItemLeft" align="right" valign="top">virtual const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_matrix.html#a79552187048172837806c40d989a044a">ptr2nonNull</a> () const</td></tr>
<tr class="separator:a79552187048172837806c40d989a044a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
struct helib::PtrMatrix&lt; T &gt;</h3>

<p>An abstract class for an array of PtrVectors. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a122c00533d7b6c88c41f551afca57e6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a122c00533d7b6c88c41f551afca57e6b">&#9670;&nbsp;</a></span>~PtrMatrix()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structhelib_1_1_ptr_matrix.html">helib::PtrMatrix</a>&lt; T &gt;::~<a class="el" href="structhelib_1_1_ptr_matrix.html">PtrMatrix</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0f57addbfcc0684f9da601e40cfb9250"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f57addbfcc0684f9da601e40cfb9250">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a>&lt;T&gt;&amp; <a class="el" href="structhelib_1_1_ptr_matrix.html">helib::PtrMatrix</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="structhelib_1_1_ptr_matrix___pt_ptr_vector.html#af932e4478a7c403ebc8cfd044db0bb6c">helib::PtrMatrix_PtPtrVector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__ptvector.html#ac0a2f590a067f8ddfdbd7e3c2873cb94">helib::PtrMatrix_ptvector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__vector.html#a2695dda7cbcab816d952a3c42a81a024">helib::PtrMatrix_vector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__pt_vec.html#a03653f77b6435caa76e03f5bb5d041c4">helib::PtrMatrix_ptVec&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_matrix___vec.html#ace5de39e1936342e0fc5350ebdedca80">helib::PtrMatrix_Vec&lt; T &gt;</a>.</p>

</div>
</div>
<a id="ab20e0c171d50b6935d30e1d234993247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab20e0c171d50b6935d30e1d234993247">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a>&lt;T&gt;&amp; <a class="el" href="structhelib_1_1_ptr_matrix.html">helib::PtrMatrix</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="structhelib_1_1_ptr_matrix___pt_ptr_vector.html#a21030eeb8d7b427e478de9feb0598e23">helib::PtrMatrix_PtPtrVector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__ptvector.html#aec9c151a794db0f54ef1cb2a5f02e362">helib::PtrMatrix_ptvector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__vector.html#a5dbeee580bc30a09c3609fa176c63766">helib::PtrMatrix_vector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__pt_vec.html#a4d391aacd4951e98efc939a72ae78901">helib::PtrMatrix_ptVec&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_matrix___vec.html#a7b62c453f2e61c9f51de9bd9d7a4836b">helib::PtrMatrix_Vec&lt; T &gt;</a>.</p>

</div>
</div>
<a id="a79552187048172837806c40d989a044a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79552187048172837806c40d989a044a">&#9670;&nbsp;</a></span>ptr2nonNull()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const T* <a class="el" href="structhelib_1_1_ptr_matrix.html">helib::PtrMatrix</a>&lt; T &gt;::ptr2nonNull </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a160927bd73ace7169e70c3a2a60fa7ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a160927bd73ace7169e70c3a2a60fa7ba">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="structhelib_1_1_ptr_matrix.html">helib::PtrMatrix</a>&lt; T &gt;::resize </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>newSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="structhelib_1_1_ptr_matrix__vector.html#a3efbe97c32b705d2a18cf63a75c54816">helib::PtrMatrix_vector&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_matrix___vec.html#ad51a1b74aa22e9f25b6f87159b4c1587">helib::PtrMatrix_Vec&lt; T &gt;</a>.</p>

</div>
</div>
<a id="a939ee2ea94472a63d762b00182a46d27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a939ee2ea94472a63d762b00182a46d27">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual long <a class="el" href="structhelib_1_1_ptr_matrix.html">helib::PtrMatrix</a>&lt; T &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="structhelib_1_1_ptr_matrix___pt_ptr_vector.html#a4df2d6b7ac927f8b1b17b5ec867fbcac">helib::PtrMatrix_PtPtrVector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__ptvector.html#a08cd6fdb3183572bf9d7b8238c8f3a41">helib::PtrMatrix_ptvector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__vector.html#acd4a4d3a7c7d9dd6d5da53151a125464">helib::PtrMatrix_vector&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_matrix__pt_vec.html#a0037fb59a011ce34cfb5868a544cbec2">helib::PtrMatrix_ptVec&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_matrix___vec.html#a455f53bf0d1af3f3dd04569eb67401b0">helib::PtrMatrix_Vec&lt; T &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/HElib/include/helib/<a class="el" href="_ptr_matrix_8h_source.html">PtrMatrix.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
